﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Os.WebUI.Helpers
{
    public static class CompetenciaHelper
    {
        public static string FormataCompetencia(this HtmlHelper helper, int competencia)
        {
            return competencia.ToString().Substring(4, 2) + "/" + competencia.ToString().Substring(0, 4);
        }
    }
}